package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site_car")
public class SiteCar extends Site implements Serializable  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "car_id", type = IdType.AUTO)
    private Long carId;

    @TableField("car_type")
    private Integer carType;

    @TableField("brand_id")
    private Integer brandId;

    @TableField("series_id")
    private Integer seriesId;

    @TableField("rent_able")
    private Integer rentAble;

    @TableField("rent_price")
    private BigDecimal rentPrice;

    @TableField("book_able")
    private Integer bookAble;

    @TableField("purchase_price")
    private BigDecimal purchasePrice;

    @TableField("date_production")
    private LocalDate dateProduction;

    @TableField("car_number")
    private String carNumber;

    @TableField("car_img")
    private String carImg;

    @TableField("car_desc")
    private String carDesc;

    @TableField("able_free_ride")
    private Integer ableFreeRide;

    @TableField("site_id")
    private Long siteId;

    @TableField("car_deposit")
    private BigDecimal carDeposit;

    @TableField("return_site_id")
    private Long returnSiteId;

    @TableField("lease_id")
    private Integer leaseId;

    @TableField("out_time_money")
    private BigDecimal outTimeMoney;

    @TableField("configuration")
    private String configuration;

    @TableField("prepay_price")
    private BigDecimal prepayPrice;

    @TableField("holidays_rent_price")
    private BigDecimal holidaysRentPrice;

    @TableField("kil_price")
    private BigDecimal kilPrice;

    @TableField("able_free_price")
    private BigDecimal ableFreePrice;

    @TableField("nonperformance")
    private BigDecimal nonperformance;

    @TableField("classno")
    private String classno;

    @TableField("engineno")
    private String engineno;

    @TableField("site_name")
    private String siteName;


}
